package com.cec.mediatR.handler;

import com.cec.mediatR.service.IRequest;

/**
 * 单播
 * @param <TRequest>
 * @param <TResponse>
 */
public interface IRequestHandler<TRequest extends IRequest<TResponse>, TResponse> {
    TResponse handle(TRequest request);
}
